projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9d1950
)
Allow libvirt to specify force, rm_cfg
author
Keir Fraser
<keir.fraser@citrix.com>
Tue, 18 Mar 2008 11:31:39 +0000
(11:31 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Tue, 18 Mar 2008 11:31:39 +0000
(11:31 +0000)
When doing a 'virsh detach-disk' on a running domain, the disk is not
removed from the configuration file. Allow a caller to specify
whether or not to change the file.
Signed-off-by: Ryan Scott <ryan.scott@sun.com>
tools/python/xen/xend/server/SrvDomain.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/server/SrvDomain.py
b/tools/python/xen/xend/server/SrvDomain.py
index ee9f2d4a7d35647c3b662e99e7d21b51089a49b8..30d2b3420bf9882ccbe32352afeaa225521a376e 100644
(file)
--- a/
tools/python/xen/xend/server/SrvDomain.py
+++ b/
tools/python/xen/xend/server/SrvDomain.py
@@
-187,7
+187,9
@@
class SrvDomain(SrvDir):
def op_device_destroy(self, _, req):
return self.call(self.dom.destroyDevice,
[['type', 'str'],
- ['dev', 'str']],
+ ['dev', 'str'],
+ ['force', 'int'],
+ ['rm_cfg', 'int']],
req)
def op_device_configure(self, _, req):